const routes = [
  {
    path: '/',
    component: () => import('layouts/todo/Layout.vue'),
  },
  {
    path: '/todo',
    component: () => import('layouts/todo/Layout.vue'),
    children: [
      { path: '', component: () => import('pages/todo/todo列表.vue') },
      { path: '/settings', component: () => import('pages/settings/settings.vue') },
      // { path: '/jsx', component: () => import('pages/jsx/a.jsx') }
      { path: '/jsx', component: () => import('pages/jsx/b.vue') }
    ]
  },

  // Always leave this as last one,
  // but you can also remove it
  {
    path: '/:catchAll(.*)*',
    component: () => import('pages/ErrorNotFound.vue')
  }
]

export default routes
